We only call _updateSensitivity() to make elements sensitive, and
nothing ever touches the sensitivity of the switch-user button; so
just call the corresponding authPrompt method directly, which is the
only bit that has an actual effect.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1029
this._promptBox.add_child(this._authPrompt);
this._authPrompt.reset();
- this._updateSensitivity(true);
+ this._authPrompt.updateSensitivity(true);
}
_maybeDestroyAuthPrompt() {
}
}
- _updateSensitivity(sensitive) {
- this._authPrompt.updateSensitivity(sensitive);
-
- this._otherUserButton.reactive = sensitive;
- this._otherUserButton.can_focus = sensitive;
- }
-
_showClock() {
if (this._activePage === this._clock)
return;